package com.nbcio.modules.erp.doc.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("erp_bill")
public class ErpBill {
    @TableId
    private Long billId;
    private String billNo;
    private String billType; // PO_IN / SO_OUT
    private Long partyId;
    private String priceMode; // TAX_INCLUDED / TAX_EXCLUDED
    private Long orgId;
    private Long warehouseId;
    private String status; // DRAFT/SUBMITTED/APPROVING/APPROVED/POSTED/CANCELED
    private Long applicantId;
    private LocalDateTime submitTime;
    private LocalDateTime approveTime;
    private String remark;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}


